import request from '@/utils/request'


//查看通知栏文本
export const getTextapi = () =>
  request.get('/adminpc/advertising/text/')

//新增通知栏文字
export const createTextapi = (data) =>
  request.post('/adminpc/advertising/text/create/', data)

//删除通知栏文字
export const deleteTextapi = (data) =>
  request.post('/adminpc/advertising/text/create/delete/', data)

//修改通知栏显示文字
export const putShowTextapi = (data) =>
  request.post('/adminpc/advertising/text/create/put/', data)

  //查看轮播图图片
export const getSlideShowapi = (data) =>
request.get('/adminpc/advertising/slideshow/', data)

//删除轮播图图片
export const deleteSlideShowapi = (data) =>
  request.post('/adminpc/advertising/slideshow/delete/', data)

  //修改展示轮播图图片
export const putSlideShowapi = (data) =>
request.post('/adminpc/advertising/slideshow/put/', data)
